package com.stone.framework.message.user;

import java.util.List;

import com.fasterxml.jackson.annotation.JsonProperty;

import io.swagger.annotations.ApiModelProperty;

public class ResourceTreeResBody {

    @ApiModelProperty(value = "主键", name = "menuId")
    @JsonProperty(value = "menuId")
    private Long id;

    @ApiModelProperty(value = "父节点主键")
    private Long parentId;

    @ApiModelProperty(value = "代码")
    private String code;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "描述")
    private String desc;

    @ApiModelProperty(value = "图标")
    private String icon;

    @ApiModelProperty(value = "url", name = "url")
    @JsonProperty(value = "url")
    private String label;

    @ApiModelProperty(value = "顺序", name = "orderNum")
    @JsonProperty(value = "orderNum")
    private Integer order;

    @ApiModelProperty(value = "类型")
    private String type;

    @ApiModelProperty(value = "状态")
    private String state;

    @ApiModelProperty(value = "下级节点")
    private List<ResourceTreeResBody> children;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public Integer getOrder() {
        return order;
    }

    public void setOrder(Integer order) {
        this.order = order;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public List<ResourceTreeResBody> getChildren() {
        return children;
    }

    public void setChildren(List<ResourceTreeResBody> children) {
        this.children = children;
    }

}
